﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="NHibernateLibrary.Entities" assembly="NHibernateLibrary">

  <class name="PrevEduGroup" table="PREVEDUGROUP">

    <composite-id>
      <key-property name="Id" column="Id" type="Int64">
        <column name="Id" unique="true" not-null="true"/>
      </key-property>
      <key-many-to-one name="UserId" class="ProfileUser" column="UserId" />
      <key-property name="PreviousEducation" column="PREVIOUSEDUCATION" type="String" length="200" ></key-property>
    </composite-id>

  </class>

</hibernate-mapping>